/*
 * Copyright (c) 2005, 2014 vacoor
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 */
package org.vacoor.nothing.web.captcha;

import java.io.Serializable;
import java.util.Collection;

/**
 * @author vacoor
 */
public interface ImageCaptchaDao {

    ImageCaptcha read(Serializable id);

    void store(Serializable id, ImageCaptcha captcha);

    void delete(Serializable id);

    Collection<ImageCaptcha> getActiveCaptchas();
}
